package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品规格管理对象 product_specification_management
 *
 * @author ruoyi
 * @date 2025-05-29
 */
public class ProductSpecificationManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 规格值ID，用于唯一标识规格值（如果有多个规格值，可能需要额外设计关联表） */
    @Excel(name = "规格值ID，用于唯一标识规格值", readConverterExp = "如=果有多个规格值，可能需要额外设计关联表")
    private String specificationValueId;

    /** 规格名称，例如：颜色、尺寸等 */
    @Excel(name = "规格名称，例如：颜色、尺寸等")
    private String specificationName;

    /** 状态，默认为正常 */
    @Excel(name = "状态，默认为正常")
    private String status;

    /** 排序字段，用于控制规格在界面上的显示顺序 */
    @Excel(name = "排序字段，用于控制规格在界面上的显示顺序")
    private Long sortOrder;

    /** 备注信息，用于记录规格的额外说明 */
    @Excel(name = "备注信息，用于记录规格的额外说明")
    private String notes;

    /** 描述信息，用于详细描述规格的内容或用途 */
    @Excel(name = "描述信息，用于详细描述规格的内容或用途")
    private String description;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSpecificationValueId(String specificationValueId)
    {
        this.specificationValueId = specificationValueId;
    }

    public String getSpecificationValueId()
    {
        return specificationValueId;
    }

    public void setSpecificationName(String specificationName)
    {
        this.specificationName = specificationName;
    }

    public String getSpecificationName()
    {
        return specificationName;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("specificationValueId", getSpecificationValueId())
                .append("specificationName", getSpecificationName())
                .append("status", getStatus())
                .append("sortOrder", getSortOrder())
                .append("notes", getNotes())
                .append("description", getDescription())
                .append("phone", getPhone())
                .toString();
    }
}
